package musicstore.mapper;

import java.util.List;

import musicstore.biz.BizException;
import musicstore.entity.Genre;

public abstract interface GenreMapper {
	public abstract void add(Genre paramGenre) throws BizException;

	public abstract void update(Genre paramGenre) throws BizException;

	public abstract void delete(int paramInt) throws BizException;

	public abstract Genre fetchById(int paramInt);

	public abstract List<Genre> getAll();
	public Genre fetchByTitle(String name);
}
